Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add old, still supported versions in CI matrix #692

Merged

Conversation

alexander-penev
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (654faee) 94.48% compared to head (d906af6) 94.51%.
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #692      +/-   ##
==========================================
+ Coverage   94.48%   94.51%   +0.02%     
==========================================
  Files          48       48              
  Lines        7091     7177      +86     
==========================================
+ Hits         6700     6783      +83     
- Misses        391      394       +3     
Files Coverage Δ
include/clad/Differentiator/Compatibility.h 91.30% <ø> (ø)
lib/Differentiator/CladUtils.cpp 97.08% <100.00%> (-0.52%) ⬇️
lib/Differentiator/VisitorBase.cpp 98.05% <100.00%> (+0.10%) ⬆️
tools/ClangPlugin.cpp 90.25% <100.00%> (ø)

... and 3 files with indirect coverage changes

Files Coverage Δ
include/clad/Differentiator/Compatibility.h 91.30% <ø> (ø)
lib/Differentiator/CladUtils.cpp 97.08% <100.00%> (-0.52%) ⬇️
lib/Differentiator/VisitorBase.cpp 98.05% <100.00%> (+0.10%) ⬆️
tools/ClangPlugin.cpp 90.25% <100.00%> (ø)

... and 3 files with indirect coverage changes

@vgvassilev
Copy link
Owner

Can you update the release notes document with the supported/tested versions. I think right now it says 5 to 17.


# Оld, still supported versions

- name: ubu20-gcc9-runtime7
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's indeed good that we still support these versions. However, should we spend efforts in maintaining such old versions of Clad?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should support 10 versions back only. The support generally has meant to compile with that version and not much else since we are using high-level clang API that produce consistent results.

min fact this pull request restricts the versions we support because so far we claim we support clang5 ;)

Copy link
Collaborator Author

@alexander-penev alexander-penev Dec 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if the support comes down to only having the corresponding fix in Compatibility.h, then 10 versions back is fine. However, if at some point this starts to interfere with us and take more time, then more versions may be dropped.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vgvassilev @alexander-penev Thank you for the explanation.

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Owner

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vgvassilev
Copy link
Owner

@alexander-penev can you apply clang-format to the diff (as suggested by the CI).

@vgvassilev vgvassilev force-pushed the AddSomeOldBuildVersionsInCI branch from 0c90bda to d906af6 Compare January 1, 2024 15:58
Copy link
Contributor

github-actions bot commented Jan 1, 2024

clang-tidy review says "All clean, LGTM! 👍"

@vgvassilev vgvassilev merged commit dbc4d21 into vgvassilev:master Jan 1, 2024
80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants